package cn.syan.core.service.impl;

import cn.hutool.core.util.IdUtil;
import cn.syan.core.service.ApilogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @program: mySpring
 * @description: 测试log
 * @author: 陈泰汶
 * @create: 2023-03-02 10:55
 **/
@Slf4j
@Service
public class ApilogServiceImpl implements ApilogService {

      @Override
      public void apilog() {
            String s= IdUtil.fastSimpleUUID();
            log.debug(s);
            System.out.println(s);
            log.debug("测试log日志");
            log.warn("warn日志");
            log.error("错误日志");
      }
}
